function [ ] = mx_eyelink_timed_command( msec, text )
%MX_EYELINK_TIMED_COMMAND Sends a command to the connected eye tracker, wait 
% for reply.

% Remarks:
% If eyelink_send_command() is used, the text command will be executed, and a 
% result code returned that can be read with eyelink_command_result().
% Parameters:
% text 	String command to send.
% msec 	Maximum milliseconds to wait for reply.
% Returns:
% OK_RESULT (0) if OK.
% NO_REPLY if timed out.
% LINK_TERMINATED_RESULT if cannot send.
% other error codes represent tracker execution error.
%
%----------------------------------------------------------------------------
% Copyright Eduardo Aponte 2013
% aponteeduardo@gmail.com